//
//  TLAddItemWindow.h
//  FMDB_Test_Demo
//
//  Created by tao故乡的云 on 2017/4/9.
//  Copyright © 2017年 故乡的云 . All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TLChengYu.h"

@interface TLItemView : UIView
/** 标题 */
@property (nonatomic, copy) NSString * _Nonnull title;
/** 正文内容 */
@property (nonatomic, weak) UITextField * _Nullable textField;

@end


@interface TLAddItemWindow : UIWindow
/** model */
@property (nonatomic,strong) TLChengYu * _Nullable item;

/// @ item ：要编辑的词条,可为nil  @done : 确定添加／修改事件
+ (instancetype _Nullable )showWithItem:(TLChengYu *_Nullable)item doneButtonClick:(void (^_Nullable)(TLChengYu * _Nonnull item))done;

@end
